package com.kotodama.domain.events.tenant;

import com.kotodama.domain.enums.TenantStatus;
import com.kotodama.domain.events.DomainEvent;

/**
 * 租户创建事件
 */
public class TenantCreatedEvent extends DomainEvent {

    private final String tenantName;
    private final TenantStatus status;

    public TenantCreatedEvent(String tenantId, String aggregateId, String tenantName, TenantStatus status) {
        super(tenantId, aggregateId);
        this.tenantName = tenantName;
        this.status = status;
    }

    public String getTenantName() {
        return tenantName;
    }

    public TenantStatus getStatus() {
        return status;
    }
}